home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 45 / PC Gamer IT CD 45 2-2.iso / SMANDEMO / data1.cab / Program_Executable_Files / data / scripts / GunScripts / shadgun.gsc < prev    next >
Text File  |  1999-07-12  |  2KB  |  97 lines

  1. $main
  2. {
  3.     $weapon_name = "Shadowgun"
  4. }
  5.  
  6. $activity "IDLE"        // activity 0
  7. {
  8.     $render                // frame 0
  9.     {
  10.         MESHFRAME("weapon_desert_eagle",0)
  11.     }
  12. }
  13.  
  14. $activity "CHARGE"        // activity 1
  15. {
  16.     $loop_from = 3
  17.  
  18.     $playspeed = 0.4
  19.  
  20.     $trans_apply    = 0
  21.     $default_trans    = 0
  22.     $trans_inc        = 2
  23.     $max_trans        = 255
  24.  
  25.     $render                // frame 0
  26.     {
  27.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,0),SELF_LIT
  28.         MESHFRAME("weapon_desert_eagle",0)
  29.     }
  30.  
  31.     $render                // frame 1
  32.     {
  33.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,1),SELF_LIT
  34.         MESHFRAME("weapon_desert_eagle",0)
  35.     }
  36.  
  37.     $render                // frame 2
  38.     {
  39.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,2),SELF_LIT
  40.         MESHFRAME("weapon_desert_eagle",0)
  41.     }
  42.  
  43.     $render                // frame 3
  44.     {
  45.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,3),SELF_LIT
  46.         MESHFRAME("weapon_desert_eagle",0)
  47.     }
  48.  
  49.     $render                // frame 4
  50.     {
  51.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,4),SELF_LIT
  52.         MESHFRAME("weapon_desert_eagle",0)
  53.     }
  54.  
  55.     $render                // frame 5
  56.     {
  57.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,5),SELF_LIT
  58.         MESHFRAME("weapon_desert_eagle",0)
  59.     }
  60.  
  61.     $render                // frame 6
  62.     {
  63.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,6),SELF_LIT
  64.         MESHFRAME("weapon_desert_eagle",0)
  65.     }
  66.  
  67.     $render                // frame 7
  68.     {
  69.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,7),SELF_LIT
  70.         MESHFRAME("weapon_desert_eagle",0)
  71.     }
  72.  
  73.     $render                // frame 8
  74.     {
  75.         MESHFRAMETEX("wepdata_muzzle_shadgun",0,8),SELF_LIT
  76.         MESHFRAME("weapon_desert_eagle",0)
  77.     }
  78. }
  79.  
  80. $activity "FIRE"        // activity 2
  81. {
  82.     $playspeed = 0.4
  83.  
  84.     $render                // frame 0
  85.     {
  86.         MESHFRAMETEX("wepdata_muzzle_shadgun",1,0),SELF_LIT
  87.         MESHFRAME("weapon_desert_eagle",1)
  88.     }
  89.     
  90.     $render                // frame 0
  91.     {
  92.         MESHFRAMETEX("wepdata_muzzle_shadgun",2,0),SELF_LIT
  93.         MESHFRAME("weapon_desert_eagle",1)
  94.     }
  95. }
  96.  
  97.